<p class="Paragraph"><help:paragraphinfo state="U" number="6" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Result:</span> Any numeric variable that contains the result of the comparison.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="7" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Expression1, expression2:</span> Any expressions that you want to compare.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="8" xmlns:help="http://openoffice.org/2000/help"/>When testing for equivalence between Boolean expressions, the result is <span class="T1">True</span> if both expressions are either <span class="T1">True</span> or <span class="T1">False</span>.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="9" xmlns:help="http://openoffice.org/2000/help"/>In a bit-wise comparison, the Eqv operator only sets the corresponding bit in the result if a bit is set in both expressions, or in neither expression.</p>
<p class="PropText"><help:paragraphinfo state="U" number="12" xmlns:help="http://openoffice.org/2000/help"/>Dim vA as Variant, vB as Variant, vC as Variant, vD as Variant</p>
<p class="PropText"><help:paragraphinfo state="U" number="13" xmlns:help="http://openoffice.org/2000/help"/>Dim vOut as Variant</p>
<p class="PropText"><help:paragraphinfo state="U" number="15" xmlns:help="http://openoffice.org/2000/help"/>vOut = A > B Eqv B > C <text:s text:c="2" xmlns:text="http://openoffice.org/2000/text"/>REM returns -1</p>
<p class="PropText"><help:paragraphinfo state="U" number="16" xmlns:help="http://openoffice.org/2000/help"/>vOut = B > A Eqv B > C <text:s text:c="2" xmlns:text="http://openoffice.org/2000/text"/>REM returns -1</p>
<p class="PropText"><help:paragraphinfo state="U" number="17" xmlns:help="http://openoffice.org/2000/help"/>vOut = A > B Eqv B > D <text:s text:c="2" xmlns:text="http://openoffice.org/2000/text"/>REM returns -1</p>
<p class="PropText"><help:paragraphinfo state="U" number="18" xmlns:help="http://openoffice.org/2000/help"/>vOut = (B > D Eqv B > A) REM returns 0</p>
<p class="PropText"><help:paragraphinfo state="U" number="19" xmlns:help="http://openoffice.org/2000/help"/>vOut = B Eqv A <text:s text:c="10" xmlns:text="http://openoffice.org/2000/text"/>REM returns -1</p>